Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve joint calibration controller #406

Open
wants to merge 2 commits into
base: melodic-devel
Choose a base branch
from

Conversation

v4hn
Copy link
Member

@v4hn v4hn commented Aug 10, 2022

This makes the calibration controllers more flexible without changing behavior in an inappropriate way.
The only change in existing functionality is that the calibrated topic will only be published once as a latch message instead of continuously announcing over and over again to the same clients that it finished calibrating.

This works together with https://github.com/TAMS-Group/tams_pr2_refine_startup_calibration to provide a more accurate initialization to detect the hardware zero crossings. In practice we can reduce the noise (one sample per startup) of detection from up to 0.2rad(!) to around 0.01-0.02 depending on the joint.

I am utterly confused why nobody looked into this before and although our transmission belts might be especially loose the procedure can definitely also improve precision of other group's robots.

@k-okada I use this on our PR2. Are you ok with me merging this here?

v4hn added 2 commits August 10, 2022 15:11
There is no reason to publish messages with 2Hz to say calibration completed.
For smooth slow motions through the zero crossing it can
be helpful to increase the distance before passing through it from low to high.

As a longer default time changes the well-established startup initialization
to the worse (more collisions) it's better to turn it into a parameter without
changing the default.
@v4hn v4hn force-pushed the improve_joint_calibration_controller branch from a1a4789 to 8cf343c Compare August 10, 2022 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant